package com.zzuli.yxypre.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.yxypre.entity.Love;
import com.zzuli.yxypre.entity.PlayCount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auther pony
 * @create 2023-05-11 20:12
 */
@Mapper
public interface PlayCountMapper extends BaseMapper<PlayCount> {
    /**
     * 获取飙升榜数据 前 100 首
     * @param type 类型，1：歌曲，2：专辑，3：歌单
     * @return
     */
    List<PlayCount> getSoarPlayCountList(@Param("type") Integer type);
}
